package pers.qianyu.auth.security.model;

import org.springframework.security.core.*;

public class GrantedAuthorityImpl implements GrantedAuthority {
    private static final long serialVersionUID = -7865472630467596991L;

    private String authority;

    public GrantedAuthorityImpl(String authority) {
        this.authority = authority;
    }

    public void setAuthority(String authority) {
        this.authority = authority;
    }

    @Override
    public String getAuthority() {
        return this.authority;
    }
}
